#ifndef SPATIALPOBJECT_H
#define SPATIALPOBJECT_H

#include <QObject>
#include "spatialObjectBase.h"


class BerthGrid : public SpatialObjectBase
{
public:
    BerthGrid(quint64 objectID, double longit, double lat,qint16 heading);
    virtual float distanceTo(SpatialObjectBase* sOB); //为了实现运行时多态，函数参数需要跟基类完全一样
    virtual ~BerthGrid();

private:
    qint16 heading;
};

#endif // SPATIALPOBJECT_H
